﻿using System;
using System.Diagnostics;

public enum _file_type_e
{
	_file_type_file,
	_file_type_mem
}

public struct _file_t
{
	public uint type;
	public uint data;
	public uint eof;
}

public struct _file_mem_t
{
	public uint @base;
	public uint size;
	public uint offset;
	public uint read;
	public uint write;
	public uint alloc;
}